package br.com.abril.booking;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface ExecutiveBookingRepository 
				extends JpaRepository<ExecutiveBooking, Long>
					  , JpaSpecificationExecutor<ExecutiveBooking> {

	List<ExecutiveBooking> findByWalletOrderByDataReservaDesc(String wallet);
	
	List<ExecutiveBooking> findByJobExecutionStatus(String jobExecutionStatus);	
	
}

